#ifndef __IRUN_TIME_DB__
#define __IRUN_TIME_DB__

#include "IObject.h"

class IDbEngine: public virtual IObject
{
public:
	virtual const char * DbInfo() = 0;
	virtual bool Select(void * ptrRecInfo) = 0;
	virtual bool Insert(void * ptrRecInfo) = 0;
	virtual bool Update(void * ptrRecInfo) = 0;
	virtual bool Delete(void * ptrRecInfo) = 0;
};

class IOperTablete: public virtual IObject
{
public:
	virtual bool Select(void * ptrDbEngine, void * ptrRecInfo) = 0;
	virtual bool Insert(void * ptrDbEngine, void * ptrRecInfo) = 0;
	virtual bool Update(void * ptrDbEngine, void * ptrRecInfo) = 0;
	virtual bool Delete(void * ptrDbEngine, void * ptrRecInfo) = 0;
};



#endif//__IRUN_TIME_DB__